home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / XDV.TEC < prev    next >
Text File  |  1992-03-09  |  5KB  |  110 lines

  1. ID:X2 XDV.COM/DV.COM - vs - DV.EXE
  2. Quarterdeck Technical Note #125
  3. by Dan Sallitt
  4. last revision:  13 February 1992
  5.  
  6. Q: Why does DESQview fail when I use XDV.COM or DV.COM but work correctly when 
  7. I use DV.EXE?
  8.  
  9. XDV.COM, which is usually renamed to DV.COM by the DESQview Install program 
  10. (before DESQview 2.26, the Install program did not automatically perform this 
  11. renaming, though Quarterdeck's documentation recommended that it be done 
  12. manually), is a loader that places bits of DESQview code in high memory areas. 
  13. It is useful on any system that has expanded memory, or on any system that has 
  14. extended memory and is using DESQview's QEXT.SYS driver, or on any system 
  15. using QEMM-386, QEMM-50/60, or QRAM.  If DESQview loads successfully when 
  16. started with the DV.EXE file but not when started with XDV.COM or DV.COM, 
  17. there are two likely possibilities:
  18.  
  19. 1)  The expanded memory manager (EMM) has allowed DESQview to place a piece of 
  20. its code in an area between 640K and 1024K (known as the reserved memory area) 
  21. that is already being used by hardware in the system;
  22.  
  23. 2) QEXT.SYS is conflicting with another program that is using the first 64K of 
  24. extended memory.
  25.  
  26. In the first case, one must determine which part of the area between 640K and 
  27. 1024K is in conflict, then exclude it using the expanded memory manager's 
  28. parameters.  If you know the hardware in the system, you should consult the 
  29. manuals (or the manufacturers) of the expansion boards in the machine to 
  30. determine the addresses that are being used for ROM extensions, buffers, etc.
  31.  
  32. If your system is a 386 running QEMM-386, the QEMM.COM Accessed screen (also 
  33. available as the Manifest QEMM-386\Accessed screen) can provide valuable hints 
  34. about what areas of memory are in use. To use the Accessed screen, remove the 
  35. RAM parameter (if it is in use) from the QEMM386.SYS line in the CONFIG.SYS 
  36. file, add the ON parameter, and reboot the machine.  Any area that the 
  37. Accessed screen then shows as having been touched, but that the QEMM Type 
  38. screen shows as Mappable or Rammable, is a good candidate for exclusion.
  39. The Quarterdeck Technical Bulletin #219, "Using QEMM-386's Analysis", 
  40. describes this process in greater detail.
  41.  
  42. Failing this, you should use the /X parameter to DV.COM or XDV.COM to exclude 
  43. different areas of reserved memory, making the exclusions smaller and smaller 
  44. until the conflict is pinpointed.  Like most memory managers, DV.COM/XDV.COM 
  45. takes hexadecimal addresses; in hexadecimal, the range A000-FFFF represents 
  46. the addresses between 640K and 1024K.  Thus the command line
  47.  
  48.           XDV /X:A000-FFFF
  49.  
  50. prevents DESQview from putting its code anywhere between 640K and 1024K.
  51.  
  52.           XDV /X:A000-CFFF
  53.  
  54. excludes the first half of this area, and
  55.  
  56.           XDV /X:D000-FFFF
  57.  
  58. excludes the second half.
  59.  
  60. All the possible 16K areas that can be excluded on DV.COM/XDV.COM are listed 
  61. below.
  62.  
  63. A000-A3FF   A400-A7FF   A800-ABFF   AC00-AFFF
  64. B000-B3FF   B400-B7FF   B800-BBFF   BC00-BFFF
  65. C000-C3FF   C400-C7FF   C800-CBFF   CC00-CFFF
  66. D000-D3FF   D400-D7FF   D800-DBFF   DC00-DFFF
  67. E000-E3FF   E400-E7FF   E800-EBFF   EC00-EFFF
  68. F000-F3FF   F400-F7FF   F800-FBFF   FC00-FFFF
  69.  
  70. To exclude a number of these consecutive ranges, use the endpoints of the 
  71. first and last block that you want to exclude. For instance:
  72.  
  73.           XDV /X:A000-ABFF
  74.  
  75. excludes the first three 16K areas above 640K.
  76.  
  77. To determine if QEXT.SYS is in conflict with anything in the system, use this 
  78. special exclusion on DV.COM or XDV.COM:
  79.  
  80.           XDV /X:FFFE
  81.  
  82. Since the Quarterdeck Expanded Memory Manager-386 (QEMM-386) and other 
  83. expanded memory managers for 80386 machines allow DESQview to place code in 
  84. the QEXT area without the actual presence of the QEXT.SYS driver, this 
  85. exclusion should be tried when troubleshooting 80386 machines in general.
  86.  
  87. If the /X:FFFE exclusion eliminates the problem, look in the CONFIG.SYS and 
  88. AUTOEXEC.BAT files for drivers or terminate-and-stay-resident programs that 
  89. may be using extended memory.  If a program is in conflict with QEXT.SYS, the 
  90. program may take parameters that will prevent it from using the addresses 
  91. between 1024K and 1088K, which QEXT.SYS must use.
  92.  
  93. It sometimes happens that a problem with XDV.COM or DV.COM is not localized: 
  94. that is to say, almost any use of the .COM files to put DESQview code in 
  95. almost any area causes the problem.  In such cases, one should probably look 
  96. for a low-level conflict, usually on the hardware level.  One situation of 
  97. this sort occurs on 80286 (or lower) systems on which an expanded memory board 
  98. is used to backfill motherboard memory without the user having disconnected 
  99. the already existing motherboard memory.  The resulting address conflict 
  100. causes immediate crashes with DV.COM or XDV.COM; DV.EXE will also crash in 
  101. this circumstance, but not until DESQview has to allocate expanded memory to 
  102. open multiple windows.
  103.  
  104.  
  105.   ************************************************************************
  106.   *This technical note may be copied and distributed freely as long as it*
  107.   *is distributed in its entirety and it is not distributed for profit.  *
  108.   *         Copyright (C) 1990-2 by Quarterdeck Office Systems           *
  109.   ************************ E N D   O F   F I L E *************************
  110.